#include "delay.h"
#include "includes.h"
void delay_init()
{

}		

void delay_ms(u16 nms)
{	 		  	  
	TickType_t xDelay = nms / portTICK_PERIOD_MS;	
	vTaskDelay( xDelay );
} 

void delay_us(u32 nus)
{	 		  	  
	TickType_t xDelay = nus/1000 / portTICK_PERIOD_MS;	
	vTaskDelay( xDelay );
} 

































